| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkMemory::Deallocator< T > Class Template Referenceabstract

Interface used for deallocating memory. More...

Inheritance diagram for nkMemory::Deallocator< T >:

## Public Member Functions
virtual | ~Deallocator ()=default
virtual void | deallocate (T *object)=0

## Detailed Description

### template<typename T>
class nkMemory::Deallocator< T >

Interface used for deallocating memory.

## Constructor & Destructor Documentation

## ◆ ~Deallocator()

template<typename T >

virtual nkMemory::Deallocator< T >::~Deallocator | ( |  | ) |
| virtual default

Destructor.

## Member Function Documentation

## ◆ deallocate()

template<typename T >

virtual void nkMemory::Deallocator< T >::deallocate | ( | T * | object | ) |
| pure virtual

Deallocation function. Called when an object has to be deleted.

Parameters

  object | The object to deallocate.

Implemented in nkMemory::DefaultDeallocator< T >.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsMemory/Deallocators/Deallocator.h